package com.yequan.designpattern.proxy.first_generation;

import com.yequan.designpattern.proxy.IGamePlayer;

public class FirstGenerationTest {

    public static void main(String[] args) {
        GamePlayer gamePlayer = new GamePlayer("叶权");
        IGamePlayer gamePlayerProxy = new GamePlayerProxy(gamePlayer);

        gamePlayerProxy.login("yequan","1");
        gamePlayerProxy.killBoss();
        gamePlayerProxy.upgrade();

    }

}
